package com.misoneism.fire.model
{
	import com.google.maps.LatLng;
	
	public class AbstractIncident implements IIncident
	{
		protected var _location: LatLng;
		
		protected var _appliances: uint;
		
		protected var _status: IncidentStatusEnum;
		
		protected var _size: IncidentSizeEnum;
		
		protected var _type: IncidentTypeEnum;
		
		protected var _whenUpdated: Date;
		
		protected var _whenCreated: Date;
		
		public function AbstractIncident( location: LatLng, appliances: uint, whenUpdated: Date, whenCreated: Date,
				status: IncidentStatusEnum, size: IncidentSizeEnum, type: IncidentTypeEnum )
		{
			_location = location;
			_appliances = appliances;
			_whenUpdated = whenUpdated;
			_whenCreated = whenCreated;
			_status = status;
			_size = size;
			_type = type;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get location(  ): LatLng
		{
			return _location;
		}

		
		public function get title():String
		{
			return null;
		}
		
		public function get description():String
		{
			return null;
		}
		
		public function get icon():IGoogleMapsIcon
		{
			return null;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get whenUpdated(  ): Date
		{
			return _whenUpdated;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get whenCreated(  ): Date
		{
			return _whenCreated;
		}
		
		/**
		 * @inheritDoc
		 */
		public function get type(  ): IncidentTypeEnum
		{
			return _type;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get size(  ): IncidentSizeEnum
		{
			return _size;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get status(  ): IncidentStatusEnum
		{
			return _status;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get appliances(  ): uint
		{
			return _appliances;
		}
		
		
		/**
		 * @inheritDoc
		 */
		public function get history():Vector.<IIncident>
		{
			return null;
		}
	}
}